package com.example.back.dto.resp;


import com.alibaba.fastjson.annotation.JSONField;
import com.example.back.dto.MenuTree;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
@ApiModel(value = "科室列表返回体")
public class DepartmentListResp implements Serializable {

    private static final long serialVersionUID = 8899853722616943962L;

    @ApiModelProperty(value = "科室ID")
    @JSONField(name = "ID")
    private Long ID;

    @ApiModelProperty(value = "科室名称")
    @JSONField(name = "name")
    private String name;

    @ApiModelProperty(value = "科室标签")
    @JSONField(name = "Label")
    private String Label;

    @ApiModelProperty(value = "上级科室")
    @JSONField(name = "pName")
    private String pName;

    @ApiModelProperty(value = "是否推荐")
    @JSONField(name = "IsRecommend")
    private String IsRecommend;

    @ApiModelProperty(value = "是否禁用")
    @JSONField(name = "Disable")
    private Boolean Disable;

    @ApiModelProperty(value = "子对象集合")
    @JSONField(name = "children")
    private List<DepartmentListResp> children;
}

